package top.malaoshi.service;

import org.springframework.stereotype.Service;
import top.malaoshi.dao.BookMapper;
import top.malaoshi.entity.Book;

import javax.annotation.Resource;

@Service
public class BookSrvImpl {

    @Resource
    private BookMapper mapper;
    public int save(Book book){
        return mapper.save(book);
    }
}
